package com.ad.pet.common.structure.presenter.compress;

import android.net.Uri;

import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.common.structure.mvp.BaseView;

import java.io.File;

/**
 * Created by z on.
 * Des:
 * Date: 2017/3/14
 */

public interface CompressContract {
    interface Presenter extends BasePresenter<View> {
        void uriToUrl(Uri uri);

        void compressPhoto(File file);

    }

    interface View extends BaseView {

        void compressComplete(File file);


    }
}
